import { default as request, cloud } from '@/framework/utils/request'

// 获取概览数据
export function overviewCount() {
  return request({
    url: cloud.permission + '/sysRole/overviewCount',
    method: 'get'
  })
}

// 获取折线图的数据
export function statisticalRole(query) {
  return request({
    url: cloud.permission + '/sysRole/statisticalRole',
    method: 'get',
    params: query
  })
}
